import java.util.Scanner;

/**
 * @author Yuanbinbing
 * 输入一个数用ｓｗｉｔｃｈ判断成绩的等级
 */
public class Task08_01 {
    public static void main(String[] args) {
        System.out.println("请输入你的成绩");
        Scanner scanner = new Scanner(System.in);
        int score = scanner.nextInt();

        switch(score/10) {
            case 10:
            case 9:
                System.out.println("优秀");
                break;
            case 8:
                System.out.println("良好");
                break;
            case 7:
                System.out.println("中等");
                break;
            case 6:
                System.out.println("及格");
                break;
            default:
                System.out.println("不及格");
                break;
        }
    }
}
